package top.frsf;

import javax.swing.*;
import java.awt.*;

/**
 * @Author FRSF
 * @Date 2022/5/15 13:58
 * @Description
 **/
public class MyLabel extends JLabel {
    public MyLabel(Color color, String length) {
        super(length);
        setOpaque(true);
        setBackground(color);
    }
}
